<%@page import="java.io.InputStream"%>
<%@page import="com.enliteapp.service.*;"
%>
<%
	response.setContentType("text/xml");
	AccessWeaverService awService	=	 new AccessWeaverService();
	//InputStream is = getServletContext().getResourceAsStream("/WEB-INF/resources/accessweaver_templates.xml");
	InputStream is  =null;
	String templates	=	awService.getTempatesForApplication(is,request.getParameter("appid"));
	response.getWriter().write(templates);
	System.out.println(templates);
%>
